<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>06.表格标签</title>
</head>
<body>
<table border="1">
  <!--第一行-->
  <tr>
    <td colspan="2" align="center">1-1</td>
    <td rowspan="2">1-3</td>
    <td rowspan="3">1-4</td>
  </tr>
  <!--第二行--->
  <tr>
    <td>2-1</td>
    <td>2-2</td>
  </tr>
  <!--第三行-->
  <tr>
    <td colspan="3" align="center">3-1</td>
  </tr>
</table>

<!--购物车的表格-->
<hr>
<table border="1">
  <caption>购物车</caption>
  <tr>
    <th>商品编号</th>
    <th>商品名称</th>
    <th>商品价格</th>
  </tr>

  <!--2-->
  <tr>
    <td align="center">1</td>
  <td>苹果手机</td>
  <td>10000</td>
  </tr>

  <!--3-->
<tr>
  <td align="center">2</td>
  <td>华为手机</td>
  <td>10000</td>
</tr>


  <!--4-->
  <tr>
    <td align="center">3</td>
  <td>小米手机</td>
  <td>5000</td>
  </tr>


  <!--5-->
  <tr>
    <td colspan="2" align="center">总价</td>
  <td>25000</td>
  </tr>
</table>

</body>
</html>